package behavioral.strategy.good;

import behavioral.strategy.good.actions.NoPeeled;
import behavioral.strategy.good.actions.WaterWash;

/**
 * 草莓
 *
 * ps: 草莓没有皮，所以这个实现很不合理
 */
public class Strawberry extends FruitAbs{

    public Strawberry() {
        peeledBehavior = new NoPeeled();
        washBehavior = new WaterWash();
    }

    @Override
    public String name() {
        return "草莓";
    }

    @Override
    public String origin() {
        return "河北";
    }

    @Override
    public void peeled() {
        System.out.println("无法去皮");
    }
}
